FROM php:5.4-apache
#设置当前ip

ADD web.tar.gz /var/www/html
WORKDIR /var/www/html
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]